<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title>注册界面</title>
    <link th:href="@{../css/register.css}" rel="stylesheet" type="text/css">

</head>
<body>
<div class="one">
    <img src="img/logo.gif">
    <h2>用户免费注册</h2>
    <div>
        <div>
            <form action="save" th:object="${user}" method="post">
                <div>
                    <p><span>用户账号：</span><input type="text" th:field="${user.adminId}"size="35" placeholder="请输入账号" required /></p>
                    <p><span>你的密码：</span><input type="password" th:field="${user.name}" size="35" placeholder="请输入密码" required/></p>
                    <p><span>确认密码：</span><input type="password" th:field="${user.password}" size="35" placeholder="再次确认密码" required/></p>
                </div>
                <div class="two">
                    <p>
                        <span >你的性别：</span>
                        <input type="radio"  name="sex" id="man" size="35"/><label for="man"><img src="img/Male.gif"></label>
                        <input type="radio"  name="sex" id="woman"/><label for="woman"><img src="img/Female.gif"></label>
                    </p>
                    <p><span>你的出生日期：</span><input type="date" th:field="${user.birth}"></p>
                    <p><input type="image" src="img/read.gif"><a href>阅读平台协议</a><input type="checkbox" required/></p>
                    <p>上传头像：<input type="file"></p>
                    <p ><input type="submit">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" />
                    </p>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
</html>
